package com.xin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * created by l1 on 2017/10/16.
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class SupperEntity<T extends Model> extends Model<T> {

    private Long id;

//    private Long tenantId;

    @Override
    protected Serializable pkVal() {
        return id;
    }
}
